/*
 * Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
 *
 * https://www.mall4j.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */
package com.yami.shop.distribution.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yami.shop.bean.vo.SysUserVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
/**
 * @author yami
 */
@Data
@TableName( "tz_distribution_user_group")
public class DistributionUserGroup {

    @TableId
    @ApiModelProperty("分组表id")
    private Long groupId;

    @ApiModelProperty("分组名")
    private String groupName;

    @ApiModelProperty("修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty("操作人id")
    private Long modifier;

    @ApiModelProperty("店铺id")
    private Long shopId;

    @ApiModelProperty("操作人")
    @TableField(exist = false)
    private SysUserVO sysUser;
}
